package cn.blackbirds.blocks.layer;

import com.wiyun.engine.nodes.Director;
import com.wiyun.engine.nodes.Scene;
import com.wiyun.engine.transitions.ColorFadeTransition;
import com.wiyun.engine.transitions.TransitionScene;
import com.wiyun.engine.types.WYColor3B;

public class HelperScene  extends Scene{
	public HelperScene() {		
        addChild(new HelperLayer());              
        setKeyEnabled(true);        
        autoRelease(true);
	}
	
	@Override
	protected boolean onBackButton() {			
		Director.getInstance().popSceneWithTransition((TransitionScene)ColorFadeTransition.make(2, null, new WYColor3B(0, 0, 0)).autoRelease());
		return true;
	}
}
